package com.zh.common.exception;

import com.zh.common.constant.ExCodeConstant;

/**
 * 业务异常
 */
public class BusinessException extends BaseException{
    public BusinessException(String message,int code) {
        super(message, code);

    }
    public BusinessException(String message) {
        this(message, ExCodeConstant.BEX_CODE);
    }
}
